﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Product.ProductDtos
{
    /// <summary>
    /// 产品出入库的查询
    /// </summary>
    public class StockinDtos
    {
        public int Id { get; set; }

        /// <summary>
        /// 入库单名称
        /// </summary>
        [DisplayName("入库单名称")]
        public string Stockin_Name { get; set; }

        /// <summary>
        /// 入库单编号
        /// </summary>
        [DisplayName("入库单编号")]
        public string Stockin_Number { get; set; }

        /// <summary>
        /// 入库日期
        /// </summary>
        [DisplayName("入库日期")]
        public DateTime Stockin_Time { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        [DisplayName("工单名称")]
        public string Work_Name { get; set; }

        /// <summary>
        /// 工单编号
        /// </summary>
        [DisplayName("工单编号")]
        public string Work_Number { get; set; }

        ///// <summary>
        ///// 工单id
        ///// </summary>
        //public int WorkOrderId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Stockin_Desc { get; set; }

        ///// <summary>
        ///// 产品主键(关联)
        ///// </summary>
        //public int Product_Id { get; set; }

        /// <summary>
        ///成品名称
        /// </summary>
        [DisplayName("成品名称")]
        public string Product_Name { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        [DisplayName("成品编号")]
        public string Product_Number { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        [DisplayName("规格型号")]
        public string Specification { get; set; }

        ///// <summary>
        ///// 产品类型(关联)
        ///// </summary>
        //public int ProductType_Id { get; set; }

        /// <summary>
        /// 产品类型名称
        /// </summary>
        [DisplayName("产品类型名称")]
        public string ProductName { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [DisplayName("单位")]
        public string Stockin_Unit { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [DisplayName("批次号")]
        public string Batch { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        [DisplayName("入库数量")]
        public int Stockin_Num { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        [DisplayName("生产日期")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 到期日期
        /// </summary>
        [DisplayName("到期日期")]
        public DateTime OpenTime { get; set; }

        ///// <summary>
        ///// 仓库(关联)
        ///// </summary>
        //public int Warehouse_Id { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [DisplayName("仓库名称")]
        public string Warehouse_Name { get; set; }

        ///// <summary>
        ///// 库位
        ///// </summary>
        //public int AreaId { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [DisplayName("库位名称")]
        public string Warehouse_area { get; set; }

        ///// <summary>
        ///// 库区
        ///// </summary>
        //public int StorageId { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        [DisplayName("库区名称")]
        public string Storage_location { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [DisplayName("状态")]
        public string Stockin_State { get; set; }
    }

}
